package com.itheima.service.Impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.POJO.HealthProgram;
import com.itheima.dao.HealthProgramMapper;
import com.itheima.service.HealthProgramService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service(interfaceClass = HealthProgramService.class)
@Transactional
public class HealthProgramServiceImpl implements HealthProgramService {

    @Autowired
    private HealthProgramMapper healthProgramMapper;

    @Override
    public List<HealthProgram> findAllHealthProgramKeywordList() {

        List<HealthProgram> list = healthProgramMapper.findAllHealthProgramKeywordList();

        return list;
    }
}
